package com.yingsheng.bi.hks.dto.serviceinfo;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 新增服务信息
 */
@ApiModel(value = "服务信息添加请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class ServiceInfoAddReq extends HksTransReq {

    @ApiModelProperty(value = "服务状态",required = true)
    @NotBlank
    private Integer state;

    @ApiModelProperty(value = "服务名称",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "分类标识",required = true)
    @NotBlank
    private String categoryId;

    @ApiModelProperty(value = "价格1",required = true)
    @NotBlank
    private String price;

    @ApiModelProperty(value = "价格2",required = true)
    @NotBlank
    private String price2;

    @ApiModelProperty(value = "图片",required = true)
    @NotBlank
    private String images;

    @ApiModelProperty(value = "描述信息",required = true)
    @NotBlank
    private String description;

}
